<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改投标保函')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-bidding-edit" th:object="${bBidding}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">业务员：</label>
                    <div class="col-sm-8">
                        <input name="userId" th:field="*{userId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">受益人名称：</label>
                    <div class="col-sm-8">
                        <input name="syName" th:field="*{syName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">项目名称：</label>
                    <div class="col-sm-8">
                        <input name="xmName" th:field="*{xmName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">标段：</label>
                    <div class="col-sm-8">
                        <input name="xmNameLot" th:field="*{xmNameLot}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">项目所在地省：</label>
                    <div class="col-sm-8">
                        <input name="xmSheng" th:field="*{xmSheng}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">项目所在地市：</label>
                    <div class="col-sm-8">
                        <input name="xmShi" th:field="*{xmShi}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">项目所在地：</label>
                    <div class="col-sm-8">
                        <input name="xmAddress" th:field="*{xmAddress}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否特殊项目：</label>
                    <div class="col-sm-8">
                        <input name="xmSpecial" th:field="*{xmSpecial}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">特殊项目名称：</label>
                    <div class="col-sm-8">
                        <input name="xmSpecialName" th:field="*{xmSpecialName}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">开标时间：</label>
                    <div class="col-sm-8">
                        <div class="input-group date">
                            <input name="xmKbdate" th:value="${#dates.format(bBidding.xmKbdate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">投标有效期：</label>
                    <div class="col-sm-8">
                        <input name="xmValidity" th:field="*{xmValidity}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">项目的上传文件：</label>
                    <div class="col-sm-8">
                        <input name="xmFileUrl" th:field="*{xmFileUrl}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">关联投标企业ID：</label>
                    <div class="col-sm-8">
                        <input name="qyId" th:field="*{qyId}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">受理意见：</label>
                    <div class="col-sm-8">
                        <input name="acceptanceOpinion" th:field="*{acceptanceOpinion}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">价格：</label>
                    <div class="col-sm-8">
                        <input name="price" th:field="*{price}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">补充资料Url：</label>
                    <div class="col-sm-8">
                        <input name="supplyUrl" th:field="*{supplyUrl}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">特殊备注：</label>
                    <div class="col-sm-8">
                        <input name="specialRemark" th:field="*{specialRemark}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">签约资料包：</label>
                    <div class="col-sm-8">
                        <input name="contractData" th:field="*{contractData}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">资料包是否合格：</label>
                    <div class="col-sm-8">
                        <input name="contractHg" th:field="*{contractHg}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">补充文件描述：</label>
                    <div class="col-sm-8">
                        <input name="supplyRemark" th:field="*{supplyRemark}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">总费用：</label>
                    <div class="col-sm-8">
                        <input name="totalMoney" th:field="*{totalMoney}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">银行成本：</label>
                    <div class="col-sm-8">
                        <input name="bankMoney" th:field="*{bankMoney}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">银行账户：</label>
                    <div class="col-sm-8">
                        <input name="bankAccount" th:field="*{bankAccount}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否收到：</label>
                    <div class="col-sm-8">
                        <input name="bankSf" th:field="*{bankSf}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">银行成本2：</label>
                    <div class="col-sm-8">
                        <input name="bankMoney2" th:field="*{bankMoney2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">银行账户2：</label>
                    <div class="col-sm-8">
                        <input name="bankAccount2" th:field="*{bankAccount2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否收到2：</label>
                    <div class="col-sm-8">
                        <input name="bankSf2" th:field="*{bankSf2}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">返润：</label>
                    <div class="col-sm-8">
                        <input name="fanMoney" th:field="*{fanMoney}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">扣税：</label>
                    <div class="col-sm-8">
                        <input name="taxMoney" th:field="*{taxMoney}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">业绩：</label>
                    <div class="col-sm-8">
                        <input name="yeji" th:field="*{yeji}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否开票：</label>
                    <div class="col-sm-8">
                        <input name="sfKp" th:field="*{sfKp}" class="form-control" type="text">
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">出函日期：</label>
                    <div class="col-sm-8">
                        <div class="input-group date">
                            <input name="bhDate" th:value="${#dates.format(bBidding.bhDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                            <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-xs-12">
                <div class="form-group">
                    <label class="col-sm-3 control-label">邮寄单号：</label>
                    <div class="col-sm-8">
                        <input name="mailNum" th:field="*{mailNum}" class="form-control" type="text">
                    </div>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/bidding";
        $("#form-bidding-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-bidding-edit').serialize());
            }
        }

        $("input[name='xmKbdate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });

        $("input[name='bhDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>